package com.lxk.service.cart.param;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.Collection;

/**
 * 用户 App - 购物车更新是否选中
 */
@Data
public class CartUpdateSelectParam {

    @NotNull(message = "编号列表不能为空")
    private Collection<Long> ids;

    /**
     * 是否选中
     */
    @NotNull(message = "是否选中不能为空")
    private Boolean selected;

}
